package com.scs.application.modules.dept.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.scs.application.core.query.QueryContext;
import com.scs.application.modules.dept.dto.DailyBalanceItemVO;
import com.scs.application.modules.dept.entity.DailyBalanceItem;
import com.scs.application.modules.dept.mapper.DailyBalanceItemMapper;
import com.scs.application.modules.dept.service.DailyBalanceItemService;
import com.scs.application.core.service.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 仓库日清明细表 服务实现类
 * </p>
 */
@Service
public class DailyBalanceItemServiceImpl extends BaseServiceImpl<DailyBalanceItemMapper, DailyBalanceItem> implements DailyBalanceItemService {

    @Autowired
    private DailyBalanceItemMapper dailyBalanceItemMapper;
    @Override
    public IPage<DailyBalanceItemVO> pageHis(QueryContext context) {

        return dailyBalanceItemMapper.pageHis(context.getPage(), context.getWrapper(), context.getParams());

    }

    @Override
    public IPage<DailyBalanceItemVO> pageSpecHistory(QueryContext context) {

        return dailyBalanceItemMapper.pageSpecHistory(context.getPage(), context.getWrapper(), context.getParams());

    }

    @Override
    public IPage<DailyBalanceItemVO> pageHisHistory(QueryContext context) {

        return dailyBalanceItemMapper.pageHisHistory(context.getPage(), context.getWrapper(), context.getParams());

    }
}
